projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a5336a
)
* keyboard.c (echo_dash): Do nothing if echoptr is 0.
author
Jim Blandy
<jimb@redhat.com>
Sat, 10 Apr 1993 07:45:07 +0000
(07:45 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Sat, 10 Apr 1993 07:45:07 +0000
(07:45 +0000)
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 8f4b9b4425fde434244855b39cc8fd429c6d6522..aa8a5e054677f824f8d7af6492dce22632047155 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-521,6
+521,9
@@
echo_dash ()
{
if (!immediate_echo && echoptr == echobuf)
return;
+ /* Do nothing if not echoing at all. */
+ if (echoptr == 0)
+ return;
/* Put a dash at the end of the buffer temporarily,
but make it go away when the next character is added. */